package lab02.test14;

public class Test14 {
    public static void main(String[] args) {
        Rectangle ju=new Rectangle();
        ju.width=6;
        ju.height=8;
        System.out.println("长方形宽是："+ju.width);
        System.out.println("长方形高是："+ju.height);

        System.out.println("长方形面积是："+ju.getArea());

        Circle circle=new Circle();
        circle.radius=20;
        System.out.println("圆的半径："+circle.radius);
        System.out.println("圆的面积是："+circle.getArea());
    }
}
